
			//封装函数
			function getSearch(key) {
				var s = location.search.slice(1);
				//aa=11 键值对
				//id=2323&aa=11
				console.log(s)
				var arr = s.split('&');

				//["id=2323", "aa=11"]
				console.log(arr)
				for(var i = 0; i < arr.length; i++) {
					console.log(arr[i].split('='))
					var tmpArr = arr[i].split('=');
					if(tmpArr[0] == key) {
						console.log(tmpArr[1])
						return tmpArr[1]
					}
				}
			}

//
//function $(sel) {
//				return document.querySelector(sel)
//			}